package homework01;

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Administrator
 */
//2010404121 谭军 2010404126 张生志
public class LiBrary {
    public String name;
    public int number;
    public double price;
   public LiBrary(String name,int number,double price){
       this.name=name;
       this.number=number;
       this.price=price;
      
   }
   public static void main(String[] args){
       LiBrary num1=new LiBrary("java开发程序",89757,16.72);
       System.out.println("图书名字为:"+num1.name);
       System.out.println("图书编号为:"+num1.number);
        System.out.println("图书价格为:"+num1.price);
   
   
   
   }
}
